<li>
  <%= link_to h(dictionary.name.to_s).titleize, dictionary %>&nbsp;
  <%= link_to_remote icon_image_tag('search.png'),
                        :url => setup_search_form_for_dictionary_path(dictionary),
                        :method => :get,
                        #:before => "if($('search_form')) Element.remove('search_form')",
                        :condition => "show_hide_search_form(#{dictionary.id})",
                        :update => "#{dom_id(dictionary)}_search_form" %>

  <div id="<%= dom_id(dictionary) %>_search_form"></div>
</li>